package Semester_4.AOP.JDKDynamicProxy;

import Semester_4.AOP.JDKDynamicProxy.DAO.UserDAO;
import Semester_4.AOP.JDKDynamicProxy.Imp.userDAOImp;
import Semester_4.AOP.JDKDynamicProxy.intensifier.SpringAOP;

public class text {
    public static void main(String[] args) {
        UserDAO ud = new userDAOImp();
        SpringAOP sa =  new SpringAOP();
        UserDAO userDAO = (UserDAO) sa.createProxy(ud);
        userDAO.addUser();
        userDAO.deleteUSer();
    }
}
